package top.lshaci.learning.springboot.jpaquerydsl.core;

import com.querydsl.core.types.dsl.EntityPathBase;

import java.lang.annotation.*;

/**
 * DslFrom
 *
 * @author lshaci
 * @since 1.0.0
 */
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface DslFrom {

    /**
     * 查询实体Class
     *
     * @return 查询实体Class
     */
    Class<? extends EntityPathBase<?>> value();
}
